Total Complexity | 46 |
Dependencies | 7 |
Dependents | 1 |
Total lines | 447 |
Lines of code | 299 |
Logical lines of code | 130 |
Comment lines | 70 |
Methods | 10 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
redeem_and_store_gift_cards() | 39 | 7 | 72 | |
capture_redeem_transactions() | 44 | 7 | 53 | |
release_redeem_transactions() | 46 | 7 | 42 | |
revalidate_gift_card_balances() | 51 | 5 | 27 | |
display_gift_cards_in_order_totals() | 53 | 5 | 22 | |
calculate_order_totals() | 58 | 5 | 15 | |
display_total_in_admin_order_totals() | 50 | 4 | 30 | |
send_ajax_failure_response() | 58 | 4 | 15 | |
__construct() | 58 | 1 | 15 | |
save_order_notice() | 69 | 1 | 8 |